package com.testDemo.hutool;

import cn.hutool.captcha.generator.RandomGenerator;
import cn.hutool.core.util.RandomUtil;
import org.junit.jupiter.api.Test;

/**
 * @author: zour
 * @date: 2024/1/27
 * @description:
 */
public class RandomGeneratorTest {
    @Test
    public void generate(){
        RandomGenerator randomGenerator = new RandomGenerator("0123456789", 6);
        System.out.println(randomGenerator.generate());
        System.out.println(randomGenerator.generate());
        System.out.println(randomGenerator.generate());
        System.out.println(randomGenerator.generate());
    }
    @Test
    public void randomChinese(){
        System.out.println( );
    }

}
